/*
*自定义脚本
*/
$(function () {
    $('#fileupload').fileupload({
        dataType: 'json',
 
        done: function (e, data) {
            $("tr:has(td)").remove();
            $.each(data.result, function (index, file) {
            	 
            }); 
        },
 
        progressall: function (e, data) {
            var progress = parseInt(data.loaded / data.total * 100, 10);
            console.log("data.loaded : " + data.loaded + "data.total : " + data.total);
            $('.wt-progress-bar').css(
                'width',
                progress + '%'
            );
            $(".wt-progress-num").html(progress + '%');
        },
        
 
        dropZone: $('#dropzone')
    });
});